package com.eliota.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.eliota.controller.dto.DeviceDto;
import com.eliota.entity.ProjectDevice;
import com.baomidou.mybatisplus.extension.service.IService;
import com.eliota.mapper.ProjectDeviceMapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author MG
 * @since 2023-04-05
 */
public interface ProjectDeviceService extends IService<ProjectDevice> {

    static void backD(ProjectDeviceMapper projectDeviceMapper) {
    }

    void backDevice(ProjectDevice projectDevice) ;

    void saveBorrow(DeviceDto deviceDto);

    List<ProjectDevice> selectProjectDevice(Map<String, Object> params);

    void deleteById(Integer id);

    void deleteBatchByIds(List<Integer> ids);
}
